package com.zxl.common.exception;

import cn.dev33.satoken.exception.SaTokenException;

/**
 * @author zxw
 * @date 2023/3/31
 */
public class LoginException extends SaTokenException {
    public static final String LOGIN_SUCCESS="登录成功";
    public static final String LOGIN_ERROR="登录失败";
    public static final String LOGIN_ACCOUNT_PASSWD_ERROR="账号或密码错误";
    public static final String PERMISSION_TOKEN_ERROR = "无效token";
    public static final String PERMISSION_ROLE_ERROR = "无此角色";
    public static final String PERMISSION_ACCOUNT_BANNED_ERROR = "账号被封禁";
    public static final String LOG_OUT_SUCCESS = "注销成功";
    public static final String LOG_OUT_ERROR = "注销失败";
    public static final String ACCOUNT_IS_NULL_ERROR = "账号或密码不能为空";
    public LoginException(String s) {
        super(s);
    }


}